package com.drx.dao;

import com.drx.dojo.TabUser;

import java.util.List;

public interface TabUserMapper {
    int deleteByPrimaryKey(Integer uid);

    int insert(TabUser record);

    int insertSelective(TabUser record);

    TabUser selectByPrimaryKey(Integer uid);

    int updateByPrimaryKeySelective(TabUser record);

    int updateByPrimaryKey(TabUser record);
    TabUser selectUserByStudentNum(Integer studentNum);
    List<Integer> selectAllUserNames();
    //定义一个依靠studentNum删除元素的方法
    Integer deleteByStudentNum(Integer studentNum);
}